package com.dao;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.entity.Qu;
import com.entity.QuAnswer;
import com.entity.dto.QuAnswerDTO;
import com.entity.dto.request.QuQueryReqDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* <p>
* 候选答案Mapper
* </p>
*/
@Mapper
public interface QuAnswerMapper extends BaseMapper<QuAnswer> {

    /**
     * 分页查询题库
     * @param page
     * @param query
     * @return
     */
    List<QuAnswer> paging(@Param("query") QuAnswerDTO query);

    /**
     * 分页查询题库
     * @param page
     * @param query
     * @return
     */
    int pagingCount(@Param("query") QuAnswerDTO query);
}
